Package-level declarations

Functions

Link copied to clipboard
fun <Model> FormController<Model>.FormCheckBoxField(modelProperty: KMutableProperty<Boolean?>, initialValue: Boolean? = null, validator: Validator<Boolean>? = modelProperty.validator(), enabled: Boolean = true, implementation: FormFieldImplementation<Boolean>)
fun <Model> FormController<Model>.FormCheckBoxField(modelProperty: KMutableProperty<Boolean?>, hint: Any? = modelProperty.hint(), initialValue: Boolean? = null, validator: Validator<Boolean>? = modelProperty.validator(), enabled: Boolean = true, checkbox: @Composable (value: Boolean, setValue: (Boolean) -> Unit) -> Unit = { value, setValue -> Checkbox( checked = value, onCheckedChange = setValue, enabled = LocalFormBox.current.enabled, ) }, errorDisplay: @Composable (error: String) -> Unit = { StandardErrorDisplay(it) }, modifier: Modifier = Modifier.fillMaxWidth(), textModifier: Modifier = Modifier.minimumInteractiveComponentSize())